﻿
using System;
using System.Data;
using System.Data.SqlClient;
namespace Model
{
	
	/// <summary>	 
	/// 家园活动活动报名表
	/// </summary>
	public class BaoMing3
	{ 
		#region BaoMing3
		/// <summary>
		/// 
		/// </summary>
		public BaoMing3()
		{
		}
		/// <summary>	 
		/// 
		/// </summary>
		public BaoMing3(Int32 id)
		{
			this.id = id;
		
		}
		/// <summary>	 
		/// 
		/// </summary>		
		public BaoMing3(DataRow dr)
		{
			int.TryParse(Convert.ToString(dr["id"]),out id);
			this.orderNO = Convert.ToString(dr["orderNO"]);
			int.TryParse(Convert.ToString(dr["activityID"]),out activityID);
			this.activityName = Convert.ToString(dr["activityName"]);
			this.activityOrg = Convert.ToString(dr["activityOrg"]);
			if(dr["activityDate"] != DBNull.Value)
				this.activityDate = Convert.ToDateTime(dr["activityDate"]);
			int.TryParse(Convert.ToString(dr["limitNums"]),out limitNums);
			this.babyClass = Convert.ToString(dr["babyClass"]);
			this.babyName = Convert.ToString(dr["babyName"]);
			this.parentName = Convert.ToString(dr["parentName"]);
			this.mobile = Convert.ToString(dr["mobile"]);
			this.notes = Convert.ToString(dr["notes"]);
			this.status = Convert.ToInt16(dr["status"]);
			this.checkinfos = Convert.ToString(dr["checkinfos"]);
			int.TryParse(Convert.ToString(dr["userId"]),out userId);
			if(dr["addTime"] != DBNull.Value)
				this.addTime = Convert.ToDateTime(dr["addTime"]);
			
		}
		#endregion
		
		
		#region Id
		private Int32 id;
		/// <summary>	 
		/// ID
		/// AutoInc
		/// PK
		/// </summary>
		public Int32 Id
		{
			get{ return id; }
			set{ id= value; }
		}
		#endregion
		
		#region OrderNO
		private System.String orderNO;
		/// <summary>	 
		/// 单号
		/// </summary>
		public System.String OrderNO
		{
			get{ return orderNO; }
			set{ orderNO= value; }
		}
		#endregion
		
		#region ActivityID
		private Int32 activityID;
		/// <summary>	 
		/// 活动ID
		/// </summary>
		public Int32 ActivityID
		{
			get{ return activityID; }
			set{ activityID= value; }
		}
		#endregion
		
		#region ActivityName
		private System.String activityName;
		/// <summary>	 
		/// 活动名称
		/// </summary>
		public System.String ActivityName
		{
			get{ return activityName; }
			set{ activityName= value; }
		}
		#endregion
		
		#region ActivityOrg
		private System.String activityOrg;
		/// <summary>	 
		/// 活动组织
		/// </summary>
		public System.String ActivityOrg
		{
			get{ return activityOrg; }
			set{ activityOrg= value; }
		}
		#endregion
		
		#region ActivityDate
		private DateTime activityDate;
		/// <summary>	 
		/// 活动日期
		/// </summary>
		public DateTime ActivityDate
		{
			get{ return activityDate; }
			set{ activityDate= value; }
		}
		#endregion
		
		#region LimitNums
		private Int32 limitNums;
		/// <summary>	 
		/// 名称限制
		/// </summary>
		public Int32 LimitNums
		{
			get{ return limitNums; }
			set{ limitNums= value; }
		}
		#endregion
		
		#region BabyClass
		private System.String babyClass;
		/// <summary>	 
		/// 幼儿班级
		/// </summary>
		public System.String BabyClass
		{
			get{ return babyClass; }
			set{ babyClass= value; }
		}
		#endregion
		
		#region BabyName
		private System.String babyName;
		/// <summary>	 
		/// 幼儿姓名
		/// </summary>
		public System.String BabyName
		{
			get{ return babyName; }
			set{ babyName= value; }
		}
		#endregion
		
		#region ParentName
		private System.String parentName;
		/// <summary>	 
		/// 家长姓名
		/// </summary>
		public System.String ParentName
		{
			get{ return parentName; }
			set{ parentName= value; }
		}
		#endregion
		
		#region Mobile
		private System.String mobile;
		/// <summary>	 
		/// 联系电话
		/// </summary>
		public System.String Mobile
		{
			get{ return mobile; }
			set{ mobile= value; }
		}
		#endregion
		
		#region Notes
		private System.String notes;
		/// <summary>	 
		/// 备注
		/// </summary>
		public System.String Notes
		{
			get{ return notes; }
			set{ notes= value; }
		}
		#endregion
		
		#region Status
		private Int16 status;
		/// <summary>	 
		/// 状态
		/// </summary>
		public Int16 Status
		{
			get{ return status; }
			set{ status= value; }
		}
		#endregion
		
		#region Checkinfos
		private System.String checkinfos;
		/// <summary>	 
		/// 处理情况
		/// </summary>
		public System.String Checkinfos
		{
			get{ return checkinfos; }
			set{ checkinfos= value; }
		}
		#endregion
		
		#region UserId
		private Int32 userId;
		/// <summary>	 
		/// 用户ID
		/// </summary>
		public Int32 UserId
		{
			get{ return userId; }
			set{ userId= value; }
		}
		#endregion
		
		#region AddTime
		private DateTime addTime;
		/// <summary>	 
		/// 添加时间
		/// </summary>
		public DateTime AddTime
		{
			get{ return addTime; }
			set{ addTime= value; }
		}
		#endregion

	}
}
